package com.lfy.enumt;

import com.google.protobuf.Api;
import lombok.AllArgsConstructor;
import lombok.Getter;

public interface ApiKey {


    @AllArgsConstructor
    @Getter
    enum Lfy implements ApiKey{
        HELLO("你好");
        String name;


    }

//    enum Function implements ApiKey{
//        FUNCTIONPME();
//        abstract String gohome();
//    }
}
 class test{
     public static void main(String[] args) {
         System.out.println(ApiKey.Lfy.HELLO.getName());
         System.out.println(ApiKey.Lfy.HELLO);
     }
}
